package tothreedesignmodel.command;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author lzhphantom
 * @Description
 * @Date 创建于 9:34 2020/7/17
 * @Modified
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConcreteCommand implements Command {
    private Receiver receiver;

    @Override
    public void execute() {
        receiver.doSomething();
    }
}
